class Product {
  id: string
  width: number
  height: number
  from?: string
  history: string[] = []

  constructor(id: string, width: number, height: number) {
    this.id = id
    this.width = width
    this.height = height
  }

  setFrom(from: string) {
    this.from = from
  }
}

export default Product
